package cn.gglol.jvvtool.service.jedis;

import cn.gglol.jvvtool.entity.User;

import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author jvvtao
 * @version 1.0
 * @project Name: jvvtool
 * @file Name: CacheService
 * @desc Jedis Cache Service Interface
 * @date 2021/9/1
 * @time 23:13
 * @by IDE: IntelliJ IDEA
 */
public interface CacheService {
    String getTime(Integer seconds);

    String getTime2(Integer seconds);

    User getUser(Long id);

    User getUser2(Long id);

    List<User> getUserList(Integer count);

    Set<User> getUserSet(Integer count);

    HashSet<User> getUserHashSet(Integer count);
}
